module.exports = class extends think.Model {
    get relation() {
        return {
            custom_type: {
                type: think.Model.BELONG_TO,
                key: 'customid',
                fKey: 'id',
                field:'id,custom_name'
            },
            custom_params: {
                type: think.Model.BELONG_TO,
                key: 'styleid',
                fKey: 'id',
                field:'id,custom_name'
            }
        };
    }
};
